package com.hc.dfs.entities.users;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *  员工表 实体类
 * </p>
 * @author 吕杰
 * @date 2012-11-08 下午01:57:41
 * @version $Revision: 1755 $ $Date: 2013-01-23 11:02:53 +0800 (周三, 23 一月 2013) $ 
 */
public class Userinfo implements Serializable{
	
	private static final long serialVersionUID = -783467996956145832L;

	private Integer id;       //主键
 
    private String serialNum; //员工号

    private String username;  //用户名

    private String password;  //密码

    private String email;//邮箱
    
    private Integer showEmail; //是否显示邮箱

    private String name;//姓名
    
    private Integer showUser; //是否显示用户

    private String ename;//英文名

    private String spell;//拼音

    private String mobile;//手机号
    
    private Integer showMobile;//是否显示手机号

    private String address;//地址

    private String telephone;//座机

    private Integer sex;//性别

    private String age;//年龄

    private Date entryTime;//入职时间

    private Date saveTime;//保存时间

    private String politicalFeatures;//政治面貌

    private String signatures;//个性签名

    private Date lastLoginTime;//最后登录时间

    private Integer status;//状态
    
    private Integer confidentialSecretary;//是否为默认机要秘书
    
    private Integer flag; //扩展标志位
    
    private Integer roleId;	//权限id
    
	private String roleName;//权限名称
	
	private String roleSerialNum;//权限序列号
	
	
    
    private List<UserDepartmentRole> departmentRoleList = new ArrayList<UserDepartmentRole>();
    
    private List<UserDepartmentPost> departmentPostList = new ArrayList<UserDepartmentPost>();


    //非数据库字段
    private Integer deptId;  //部门ID
    private String deptName; //部门名称
    private Integer postId; //职位iD
    private String postName; //职位名称
    private String json; //json字符串
    
    private int delayNum; //签批超时次数 （统计用）
    private Integer SignTotal;//用户签批次数合计（统计用）
    private String delayPercent;//超时比例 （统计用）
    
    private String newPwd; //新密码
    private String confirmPwd; //确认密码
    
	public Integer getId() {
		return id;
	}

	
    /**
	 * @return the signTotal
	 */
	public Integer getSignTotal() {
		return SignTotal;
	}


	/**
	 * @param signTotal the signTotal to set
	 */
	public void setSignTotal(Integer signTotal) {
		SignTotal = signTotal;
	}


	/**
	 * @return the roleId
	 */
	public Integer getRoleId() {
		return roleId;
	}


	/**
	 * @param roleId the roleId to set
	 */
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}


	/**
	 * @return the departmentRoleList
	 */
	public List<UserDepartmentRole> getDepartmentRoleList() {
		return departmentRoleList;
	}

	/**
	 * @param departmentRoleList the departmentRoleList to set
	 */
	public void setDepartmentRoleList(List<UserDepartmentRole> departmentRoleList) {
		this.departmentRoleList = departmentRoleList;
	}



	public void setId(Integer id) {
		this.id = id;
	}

	public String getSerialNum() {
		return serialNum;
	}

	public void setSerialNum(String serialNum) {
		this.serialNum = serialNum;
	}


	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the serialversionuid
	 */
	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEname() {
		return ename;
	}

	public void setEname(String ename) {
		this.ename = ename;
	}

	public String getSpell() {
		return spell;
	}

	public void setSpell(String spell) {
		this.spell = spell;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public Date getEntryTime() {
		return entryTime;
	}

	public void setEntryTime(Date entryTime) {
		this.entryTime = entryTime;
	}

	public Date getSaveTime() {
		return saveTime;
	}

	public void setSaveTime(Date saveTime) {
		this.saveTime = saveTime;
	}


	
	
	/**
	 * @return the politicalFeatures
	 */
	public String getPoliticalFeatures() {
		return politicalFeatures;
	}

	/**
	 * @param politicalFeatures the politicalFeatures to set
	 */
	public void setPoliticalFeatures(String politicalFeatures) {
		this.politicalFeatures = politicalFeatures;
	}

	public String getSignatures() {
		return signatures;
	}

	public void setSignatures(String signatures) {
		this.signatures = signatures;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

    

	/**
	 * @return the roleName
	 */
	public String getRoleName() {
		return roleName;
	}

	/**
	 * @param roleName the roleName to set
	 */
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	/**
	 * @return the roleSerialNum
	 */
	public String getRoleSerialNum() {
		return roleSerialNum;
	}

	/**
	 * @param roleSerialNum the roleSerialNum to set
	 */
	public void setRoleSerialNum(String roleSerialNum) {
		this.roleSerialNum = roleSerialNum;
	}

	/**
	 * @return the deptName
	 */
	public String getDeptName() {
		return deptName;
	}

	/**
	 * @param deptName the deptName to set
	 */
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	/**
	 * @return the postName
	 */
	public String getPostName() {
		return postName;
	}

	/**
	 * @param postName the postName to set
	 */
	public void setPostName(String postName) {
		this.postName = postName;
	}

	/**
	 * @return the deptId
	 */
	public Integer getDeptId() {
		return deptId;
	}

	/**
	 * @param deptId the deptId to set
	 */
	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}

	/**
	 * @return the postId
	 */
	public Integer getPostId() {
		return postId;
	}

	/**
	 * @param postId the postId to set
	 */
	public void setPostId(Integer postId) {
		this.postId = postId;
	}


	/**
	 * @return the departmentPostList
	 */
	public List<UserDepartmentPost> getDepartmentPostList() {
		return departmentPostList;
	}


	/**
	 * @param departmentPostList the departmentPostList to set
	 */
	public void setDepartmentPostList(List<UserDepartmentPost> departmentPostList) {
		this.departmentPostList = departmentPostList;
	}


	/**
	 * @return the json
	 */
	public String getJson() {
		return json;
	}


	/**
	 * @param json the json to set
	 */
	public void setJson(String json) {
		this.json = json;
	}


	/**
	 * @return the delayNum
	 */
	public int getDelayNum() {
		return delayNum;
	}


	/**
	 * @param delayNum the delayNum to set
	 */
	public void setDelayNum(int delayNum) {
		this.delayNum = delayNum;
	}


	/**
	 * @return the delayPercent
	 */
	public String getDelayPercent() {
		return delayPercent;
	}


	/**
	 * @param delayPercent the delayPercent to set
	 */
	public void setDelayPercent(String delayPercent) {
		this.delayPercent = delayPercent;
	}


	/**
	 * @return the newPwd
	 */
	public String getNewPwd() {
		return newPwd;
	}


	/**
	 * @param newPwd the newPwd to set
	 */
	public void setNewPwd(String newPwd) {
		this.newPwd = newPwd;
	}


	/**
	 * @return the confirmPwd
	 */
	public String getConfirmPwd() {
		return confirmPwd;
	}


	/**
	 * @param confirmPwd the confirmPwd to set
	 */
	public void setConfirmPwd(String confirmPwd) {
		this.confirmPwd = confirmPwd;
	}


	/**
	 * @return the confidentialSecretary
	 */
	public Integer getConfidentialSecretary() {
		return confidentialSecretary;
	}


	/**
	 * @param confidentialSecretary the confidentialSecretary to set
	 */
	public void setConfidentialSecretary(Integer confidentialSecretary) {
		this.confidentialSecretary = confidentialSecretary;
	}


	/**
	 * @return the showEmail
	 */
	public Integer getShowEmail() {
		return showEmail;
	}


	/**
	 * @param showEmail the showEmail to set
	 */
	public void setShowEmail(Integer showEmail) {
		this.showEmail = showEmail;
	}


	/**
	 * @return the showUser
	 */
	public Integer getShowUser() {
		return showUser;
	}


	/**
	 * @param showUser the showUser to set
	 */
	public void setShowUser(Integer showUser) {
		this.showUser = showUser;
	}


	/**
	 * @return the showMobile
	 */
	public Integer getShowMobile() {
		return showMobile;
	}


	/**
	 * @param showMobile the showMobile to set
	 */
	public void setShowMobile(Integer showMobile) {
		this.showMobile = showMobile;
	}


	/**
	 * @return the flag
	 */
	public Integer getFlag() {
		return flag;
	}


	/**
	 * @param flag the flag to set
	 */
	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	
    
}